// 引入实体
import { PostsEntity } from '../../entity/posts';
import { BaseController, CoolController } from '@cool-midway/core';

/**
 * 测试
 * /admin/base/posts/add
 * /admin/base/posts/delete
 */
@CoolController({
  api: ['add', 'delete', 'update', 'info', 'page', 'list'],
  entity: PostsEntity,
})
export class CoolPostsController extends BaseController {}
